package inabit.inabitcompiler.productions.start;

import inabit.compiler.parser.grammar.NonTerminal;
import inabit.compiler.parser.grammar.Production;
import inabit.compiler.parser.grammar.Symbol;

/**S -> Var Const Fs Rule*/
/**@author Rafael Rocha*/
public class S_Rule extends Production{

	private NonTerminal Var;
	private NonTerminal Const;
	private NonTerminal Fs;
	private NonTerminal Rule;
	
	
	public S_Rule() {
		super("S");
	}

	@Override
	protected Symbol[] production(NonTerminal nonTerminal) {
		Var = new NonTerminal("Var");
		Const = new NonTerminal("Const");
		Fs = new NonTerminal("Fs");
		Rule = new NonTerminal("Rule");
		
		Symbol[] symbols = {
				Var,
				Const,
				Fs,
				Rule
		};
		return symbols;
	}

}
